﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E1F RID: 3615
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ResetMapRotationRegionCsReq : IMessage<ResetMapRotationRegionCsReq>, IMessage, IEquatable<ResetMapRotationRegionCsReq>, IDeepCloneable<ResetMapRotationRegionCsReq>, IBufferMessage
	{
		// Token: 0x17002DF4 RID: 11764
		// (get) Token: 0x0600A259 RID: 41561 RVA: 0x001B263F File Offset: 0x001B083F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ResetMapRotationRegionCsReq> Parser
		{
			get
			{
				return ResetMapRotationRegionCsReq._parser;
			}
		}

		// Token: 0x17002DF5 RID: 11765
		// (get) Token: 0x0600A25A RID: 41562 RVA: 0x001B2646 File Offset: 0x001B0846
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ResetMapRotationRegionCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002DF6 RID: 11766
		// (get) Token: 0x0600A25B RID: 41563 RVA: 0x001B2658 File Offset: 0x001B0858
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ResetMapRotationRegionCsReq.Descriptor;
			}
		}

		// Token: 0x0600A25C RID: 41564 RVA: 0x001B265F File Offset: 0x001B085F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ResetMapRotationRegionCsReq()
		{
		}

		// Token: 0x0600A25D RID: 41565 RVA: 0x001B2668 File Offset: 0x001B0868
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ResetMapRotationRegionCsReq(ResetMapRotationRegionCsReq other) : this()
		{
			this.motion_ = ((other.motion_ != null) ? other.motion_.Clone() : null);
			this.rogueMap_ = ((other.rogueMap_ != null) ? other.rogueMap_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A25E RID: 41566 RVA: 0x001B26C4 File Offset: 0x001B08C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ResetMapRotationRegionCsReq Clone()
		{
			return new ResetMapRotationRegionCsReq(this);
		}

		// Token: 0x17002DF7 RID: 11767
		// (get) Token: 0x0600A25F RID: 41567 RVA: 0x001B26CC File Offset: 0x001B08CC
		// (set) Token: 0x0600A260 RID: 41568 RVA: 0x001B26D4 File Offset: 0x001B08D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MotionInfo Motion
		{
			get
			{
				return this.motion_;
			}
			set
			{
				this.motion_ = value;
			}
		}

		// Token: 0x17002DF8 RID: 11768
		// (get) Token: 0x0600A261 RID: 41569 RVA: 0x001B26DD File Offset: 0x001B08DD
		// (set) Token: 0x0600A262 RID: 41570 RVA: 0x001B26E5 File Offset: 0x001B08E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NewMapRot RogueMap
		{
			get
			{
				return this.rogueMap_;
			}
			set
			{
				this.rogueMap_ = value;
			}
		}

		// Token: 0x0600A263 RID: 41571 RVA: 0x001B26EE File Offset: 0x001B08EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ResetMapRotationRegionCsReq);
		}

		// Token: 0x0600A264 RID: 41572 RVA: 0x001B26FC File Offset: 0x001B08FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ResetMapRotationRegionCsReq other)
		{
			return other != null && (other == this || (object.Equals(this.Motion, other.Motion) && object.Equals(this.RogueMap, other.RogueMap) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A265 RID: 41573 RVA: 0x001B2750 File Offset: 0x001B0950
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.motion_ != null)
			{
				num ^= this.Motion.GetHashCode();
			}
			if (this.rogueMap_ != null)
			{
				num ^= this.RogueMap.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A266 RID: 41574 RVA: 0x001B27A2 File Offset: 0x001B09A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A267 RID: 41575 RVA: 0x001B27AA File Offset: 0x001B09AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A268 RID: 41576 RVA: 0x001B27B4 File Offset: 0x001B09B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.motion_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.Motion);
			}
			if (this.rogueMap_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.RogueMap);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A269 RID: 41577 RVA: 0x001B2810 File Offset: 0x001B0A10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.motion_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Motion);
			}
			if (this.rogueMap_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueMap);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A26A RID: 41578 RVA: 0x001B2868 File Offset: 0x001B0A68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ResetMapRotationRegionCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.motion_ != null)
			{
				if (this.motion_ == null)
				{
					this.Motion = new MotionInfo();
				}
				this.Motion.MergeFrom(other.Motion);
			}
			if (other.rogueMap_ != null)
			{
				if (this.rogueMap_ == null)
				{
					this.RogueMap = new NewMapRot();
				}
				this.RogueMap.MergeFrom(other.RogueMap);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A26B RID: 41579 RVA: 0x001B28E8 File Offset: 0x001B0AE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A26C RID: 41580 RVA: 0x001B28F4 File Offset: 0x001B0AF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					if (num != 66U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.rogueMap_ == null)
						{
							this.RogueMap = new NewMapRot();
						}
						input.ReadMessage(this.RogueMap);
					}
				}
				else
				{
					if (this.motion_ == null)
					{
						this.Motion = new MotionInfo();
					}
					input.ReadMessage(this.Motion);
				}
			}
		}

		// Token: 0x04003EB7 RID: 16055
		private static readonly MessageParser<ResetMapRotationRegionCsReq> _parser = new MessageParser<ResetMapRotationRegionCsReq>(() => new ResetMapRotationRegionCsReq());

		// Token: 0x04003EB8 RID: 16056
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003EB9 RID: 16057
		public const int MotionFieldNumber = 3;

		// Token: 0x04003EBA RID: 16058
		private MotionInfo motion_;

		// Token: 0x04003EBB RID: 16059
		public const int RogueMapFieldNumber = 8;

		// Token: 0x04003EBC RID: 16060
		private NewMapRot rogueMap_;
	}
}
